package com.example.onlineeducation.mapper

import com.example.onlineeducation.data.json.CertificateListJson
import com.example.onlineeducation.data.json.RegisterGoupListJson
import com.example.onlineeducation.data.json.RegisterProListJson
import com.example.onlineeducation.data.json.RegisterWorkTypeListJson
import com.example.onlineeducation.data.model.CertificateListDataModel
import com.example.onlineeducation.data.model.RegisterSearchGroupListDataModel
import com.example.onlineeducation.data.model.RegisterSearchProjectListDataModel
import com.example.onlineeducation.data.model.RegisterSearchWorkTypeListDataModel
import com.yc.jetpacklib.extension.ycToNoEmpty
import com.yc.jetpacklib.mapper.IMapper

class RegisterSearchWorkTypeMapper : IMapper<RegisterWorkTypeListJson, RegisterSearchWorkTypeListDataModel> {
    override fun map(input: RegisterWorkTypeListJson): RegisterSearchWorkTypeListDataModel = RegisterSearchWorkTypeListDataModel(
        input.id,
        input.name
    )
}

